package one.stand.model;

import java.io.Serializable;
import java.util.Date;

public class ArticleWithBLOBs extends Article implements Serializable {
    private String content;

    private String adContent;

    private static final long serialVersionUID = 1L;

    public ArticleWithBLOBs(Integer id, Integer companyId, String title, String subtitle, String shareCard, Integer templateType, Integer typeId, String originName, String originUrl, Integer status, Date upTime, String labels, Integer position, Integer isPush, Integer forwardCount, Integer viewCount, Date createTime, Date updateTime, String content, String adContent) {
        super(id, companyId, title, subtitle, shareCard, templateType, typeId, originName, originUrl, status, upTime, labels, position, isPush, forwardCount, viewCount, createTime, updateTime);
        this.content = content;
        this.adContent = adContent;
    }

    public ArticleWithBLOBs() {
        super();
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }

    public String getAdContent() {
        return adContent;
    }

    public void setAdContent(String adContent) {
        this.adContent = adContent == null ? null : adContent.trim();
    }
}